/*
 *  motormap.h
 *  
 *
 *  Created by Jeff McKinstry on 4/21/09.
 *  Copyright 2009 The Neurosciences Institute. All rights reserved.
 *
 */

float motorprimitives[][3] = {
	0,0,0.5,
	0,0.041667,0.5,
	0,0.083333,0.5,
	0,0.125,0.5,
	0,0.16667,0.5,
	0,0.20833,0.5,
	0,0.25,0.5,
	0,0.29167,0.5,
	0,0.33333,0.5,
	0,0.375,0.5,
	0,0.41667,0.5,
	0,0.45833,0.5,
	0,0.5,0.5,
	0,0.54167,0.5,
	0,0.58333,0.5,
	0,0.625,0.5,
	0,0.66667,0.5,
	0,0.70833,0.5,
	0,0.75,0.5,
	0,0.79167,0.5,
	0,0.83333,0.5,
	0,0.875,0.5,
	0,0.91667,0.5,
	0,0.95833,0.5,
	0,1,0.5,
	0.041667,0,0.5,
	0.041667,0.041667,0.5,
	0.041667,0.083333,0.5,
	0.041667,0.125,0.5,
	0.041667,0.16667,0.5,
	0.041667,0.20833,0.5,
	0.041667,0.25,0.5,
	0.041667,0.29167,0.5,
	0.041667,0.33333,0.5,
	0.041667,0.375,0.5,
	0.041667,0.41667,0.5,
	0.041667,0.45833,0.5,
	0.041667,0.5,0.5,
	0.041667,0.54167,0.5,
	0.041667,0.58333,0.5,
	0.041667,0.625,0.5,
	0.041667,0.66667,0.5,
	0.041667,0.70833,0.5,
	0.041667,0.75,0.5,
	0.041667,0.79167,0.5,
	0.041667,0.83333,0.5,
	0.041667,0.875,0.5,
	0.041667,0.91667,0.5,
	0.041667,0.95833,0.5,
	0.041667,1,0.5,
	0.083333,0,0.5,
	0.083333,0.041667,0.5,
	0.083333,0.083333,0.5,
	0.083333,0.125,0.5,
	0.083333,0.16667,0.5,
	0.083333,0.20833,0.5,
	0.083333,0.25,0.5,
	0.083333,0.29167,0.5,
	0.083333,0.33333,0.5,
	0.083333,0.375,0.5,
	0.083333,0.41667,0.5,
	0.083333,0.45833,0.5,
	0.083333,0.5,0.5,
	0.083333,0.54167,0.5,
	0.083333,0.58333,0.5,
	0.083333,0.625,0.5,
	0.083333,0.66667,0.5,
	0.083333,0.70833,0.5,
	0.083333,0.75,0.5,
	0.083333,0.79167,0.5,
	0.083333,0.83333,0.5,
	0.083333,0.875,0.5,
	0.083333,0.91667,0.5,
	0.083333,0.95833,0.5,
	0.083333,1,0.5,
	0.125,0,0.5,
	0.125,0.041667,0.5,
	0.125,0.083333,0.5,
	0.125,0.125,0.5,
	0.125,0.16667,0.5,
	0.125,0.20833,0.5,
	0.125,0.25,0.5,
	0.125,0.29167,0.5,
	0.125,0.33333,0.5,
	0.125,0.375,0.5,
	0.125,0.41667,0.5,
	0.125,0.45833,0.5,
	0.125,0.5,0.5,
	0.125,0.54167,0.5,
	0.125,0.58333,0.5,
	0.125,0.625,0.5,
	0.125,0.66667,0.5,
	0.125,0.70833,0.5,
	0.125,0.75,0.5,
	0.125,0.79167,0.5,
	0.125,0.83333,0.5,
	0.125,0.875,0.5,
	0.125,0.91667,0.5,
	0.125,0.95833,0.5,
	0.125,1,0.5,
	0.16667,0,0.5,
	0.16667,0.041667,0.5,
	0.16667,0.083333,0.5,
	0.16667,0.125,0.5,
	0.16667,0.16667,0.5,
	0.16667,0.20833,0.5,
	0.16667,0.25,0.5,
	0.16667,0.29167,0.5,
	0.16667,0.33333,0.5,
	0.16667,0.375,0.5,
	0.16667,0.41667,0.5,
	0.16667,0.45833,0.5,
	0.16667,0.5,0.5,
	0.16667,0.54167,0.5,
	0.16667,0.58333,0.5,
	0.16667,0.625,0.5,
	0.16667,0.66667,0.5,
	0.16667,0.70833,0.5,
	0.16667,0.75,0.5,
	0.16667,0.79167,0.5,
	0.16667,0.83333,0.5,
	0.16667,0.875,0.5,
	0.16667,0.91667,0.5,
	0.16667,0.95833,0.5,
	0.16667,1,0.5,
	0.20833,0,0.5,
	0.20833,0.041667,0.5,
	0.20833,0.083333,0.5,
	0.20833,0.125,0.5,
	0.20833,0.16667,0.5,
	0.20833,0.20833,0.5,
	0.20833,0.25,0.5,
	0.20833,0.29167,0.5,
	0.20833,0.33333,0.5,
	0.20833,0.375,0.5,
	0.20833,0.41667,0.5,
	0.20833,0.45833,0.5,
	0.20833,0.5,0.5,
	0.20833,0.54167,0.5,
	0.20833,0.58333,0.5,
	0.20833,0.625,0.5,
	0.20833,0.66667,0.5,
	0.20833,0.70833,0.5,
	0.20833,0.75,0.5,
	0.20833,0.79167,0.5,
	0.20833,0.83333,0.5,
	0.20833,0.875,0.5,
	0.20833,0.91667,0.5,
	0.20833,0.95833,0.5,
	0.20833,1,0.5,
	0.25,0,0.5,
	0.25,0.041667,0.5,
	0.25,0.083333,0.5,
	0.25,0.125,0.5,
	0.25,0.16667,0.5,
	0.25,0.20833,0.5,
	0.25,0.25,0.5,
	0.25,0.29167,0.5,
	0.25,0.33333,0.5,
	0.25,0.375,0.5,
	0.25,0.41667,0.5,
	0.25,0.45833,0.5,
	0.25,0.5,0.5,
	0.25,0.54167,0.5,
	0.25,0.58333,0.5,
	0.25,0.625,0.5,
	0.25,0.66667,0.5,
	0.25,0.70833,0.5,
	0.25,0.75,0.5,
	0.25,0.79167,0.5,
	0.25,0.83333,0.5,
	0.25,0.875,0.5,
	0.25,0.91667,0.5,
	0.25,0.95833,0.5,
	0.25,1,0.5,
	0.29167,0,0.5,
	0.29167,0.041667,0.5,
	0.29167,0.083333,0.5,
	0.29167,0.125,0.5,
	0.29167,0.16667,0.5,
	0.29167,0.20833,0.5,
	0.29167,0.25,0.5,
	0.29167,0.29167,0.5,
	0.29167,0.33333,0.5,
	0.29167,0.375,0.5,
	0.29167,0.41667,0.5,
	0.29167,0.45833,0.5,
	0.29167,0.5,0.5,
	0.29167,0.54167,0.5,
	0.29167,0.58333,0.5,
	0.29167,0.625,0.5,
	0.29167,0.66667,0.5,
	0.29167,0.70833,0.5,
	0.29167,0.75,0.5,
	0.29167,0.79167,0.5,
	0.29167,0.83333,0.5,
	0.29167,0.875,0.5,
	0.29167,0.91667,0.5,
	0.29167,0.95833,0.5,
	0.29167,1,0.5,
	0.33333,0,0.5,
	0.33333,0.041667,0.5,
	0.33333,0.083333,0.5,
	0.33333,0.125,0.5,
	0.33333,0.16667,0.5,
	0.33333,0.20833,0.5,
	0.33333,0.25,0.5,
	0.33333,0.29167,0.5,
	0.33333,0.33333,0.5,
	0.33333,0.375,0.5,
	0.33333,0.41667,0.5,
	0.33333,0.45833,0.5,
	0.33333,0.5,0.5,
	0.33333,0.54167,0.5,
	0.33333,0.58333,0.5,
	0.33333,0.625,0.5,
	0.33333,0.66667,0.5,
	0.33333,0.70833,0.5,
	0.33333,0.75,0.5,
	0.33333,0.79167,0.5,
	0.33333,0.83333,0.5,
	0.33333,0.875,0.5,
	0.33333,0.91667,0.5,
	0.33333,0.95833,0.5,
	0.33333,1,0.5,
	0.375,0,0.5,
	0.375,0.041667,0.5,
	0.375,0.083333,0.5,
	0.375,0.125,0.5,
	0.375,0.16667,0.5,
	0.375,0.20833,0.5,
	0.375,0.25,0.5,
	0.375,0.29167,0.5,
	0.375,0.33333,0.5,
	0.375,0.375,0.5,
	0.375,0.41667,0.5,
	0.375,0.45833,0.5,
	0.375,0.5,0.5,
	0.375,0.54167,0.5,
	0.375,0.58333,0.5,
	0.375,0.625,0.5,
	0.375,0.66667,0.5,
	0.375,0.70833,0.5,
	0.375,0.75,0.5,
	0.375,0.79167,0.5,
	0.375,0.83333,0.5,
	0.375,0.875,0.5,
	0.375,0.91667,0.5,
	0.375,0.95833,0.5,
	0.375,1,0.5,
	0.41667,0,0.5,
	0.41667,0.041667,0.5,
	0.41667,0.083333,0.5,
	0.41667,0.125,0.5,
	0.41667,0.16667,0.5,
	0.41667,0.20833,0.5,
	0.41667,0.25,0.5,
	0.41667,0.29167,0.5,
	0.41667,0.33333,0.5,
	0.41667,0.375,0.5,
	0.41667,0.41667,0.5,
	0.41667,0.45833,0.5,
	0.41667,0.5,0.5,
	0.41667,0.54167,0.5,
	0.41667,0.58333,0.5,
	0.41667,0.625,0.5,
	0.41667,0.66667,0.5,
	0.41667,0.70833,0.5,
	0.41667,0.75,0.5,
	0.41667,0.79167,0.5,
	0.41667,0.83333,0.5,
	0.41667,0.875,0.5,
	0.41667,0.91667,0.5,
	0.41667,0.95833,0.5,
	0.41667,1,0.5,
	0.45833,0,0.5,
	0.45833,0.041667,0.5,
	0.45833,0.083333,0.5,
	0.45833,0.125,0.5,
	0.45833,0.16667,0.5,
	0.45833,0.20833,0.5,
	0.45833,0.25,0.5,
	0.45833,0.29167,0.5,
	0.45833,0.33333,0.5,
	0.45833,0.375,0.5,
	0.45833,0.41667,0.5,
	0.45833,0.45833,0.5,
	0.45833,0.5,0.5,
	0.45833,0.54167,0.5,
	0.45833,0.58333,0.5,
	0.45833,0.625,0.5,
	0.45833,0.66667,0.5,
	0.45833,0.70833,0.5,
	0.45833,0.75,0.5,
	0.45833,0.79167,0.5,
	0.45833,0.83333,0.5,
	0.45833,0.875,0.5,
	0.45833,0.91667,0.5,
	0.45833,0.95833,0.5,
	0.45833,1,0.5,
	0.5,0,0.5,
	0.5,0.041667,0.5,
	0.5,0.083333,0.5,
	0.5,0.125,0.5,
	0.5,0.16667,0.5,
	0.5,0.20833,0.5,
	0.5,0.25,0.5,
	0.5,0.29167,0.5,
	0.5,0.33333,0.5,
	0.5,0.375,0.5,
	0.5,0.41667,0.5,
	0.5,0.45833,0.5,
	0.5,0.5,0.5,
	0.5,0.54167,0.5,
	0.5,0.58333,0.5,
	0.5,0.625,0.5,
	0.5,0.66667,0.5,
	0.5,0.70833,0.5,
	0.5,0.75,0.5,
	0.5,0.79167,0.5,
	0.5,0.83333,0.5,
	0.5,0.875,0.5,
	0.5,0.91667,0.5,
	0.5,0.95833,0.5,
	0.5,1,0.5,
	0.54167,0,0.5,
	0.54167,0.041667,0.5,
	0.54167,0.083333,0.5,
	0.54167,0.125,0.5,
	0.54167,0.16667,0.5,
	0.54167,0.20833,0.5,
	0.54167,0.25,0.5,
	0.54167,0.29167,0.5,
	0.54167,0.33333,0.5,
	0.54167,0.375,0.5,
	0.54167,0.41667,0.5,
	0.54167,0.45833,0.5,
	0.54167,0.5,0.5,
	0.54167,0.54167,0.5,
	0.54167,0.58333,0.5,
	0.54167,0.625,0.5,
	0.54167,0.66667,0.5,
	0.54167,0.70833,0.5,
	0.54167,0.75,0.5,
	0.54167,0.79167,0.5,
	0.54167,0.83333,0.5,
	0.54167,0.875,0.5,
	0.54167,0.91667,0.5,
	0.54167,0.95833,0.5,
	0.54167,1,0.5,
	0.58333,0,0.5,
	0.58333,0.041667,0.5,
	0.58333,0.083333,0.5,
	0.58333,0.125,0.5,
	0.58333,0.16667,0.5,
	0.58333,0.20833,0.5,
	0.58333,0.25,0.5,
	0.58333,0.29167,0.5,
	0.58333,0.33333,0.5,
	0.58333,0.375,0.5,
	0.58333,0.41667,0.5,
	0.58333,0.45833,0.5,
	0.58333,0.5,0.5,
	0.58333,0.54167,0.5,
	0.58333,0.58333,0.5,
	0.58333,0.625,0.5,
	0.58333,0.66667,0.5,
	0.58333,0.70833,0.5,
	0.58333,0.75,0.5,
	0.58333,0.79167,0.5,
	0.58333,0.83333,0.5,
	0.58333,0.875,0.5,
	0.58333,0.91667,0.5,
	0.58333,0.95833,0.5,
	0.58333,1,0.5,
	0.625,0,0.5,
	0.625,0.041667,0.5,
	0.625,0.083333,0.5,
	0.625,0.125,0.5,
	0.625,0.16667,0.5,
	0.625,0.20833,0.5,
	0.625,0.25,0.5,
	0.625,0.29167,0.5,
	0.625,0.33333,0.5,
	0.625,0.375,0.5,
	0.625,0.41667,0.5,
	0.625,0.45833,0.5,
	0.625,0.5,0.5,
	0.625,0.54167,0.5,
	0.625,0.58333,0.5,
	0.625,0.625,0.5,
	0.625,0.66667,0.5,
	0.625,0.70833,0.5,
	0.625,0.75,0.5,
	0.625,0.79167,0.5,
	0.625,0.83333,0.5,
	0.625,0.875,0.5,
	0.625,0.91667,0.5,
	0.625,0.95833,0.5,
	0.625,1,0.5,
	0.66667,0,0.5,
	0.66667,0.041667,0.5,
	0.66667,0.083333,0.5,
	0.66667,0.125,0.5,
	0.66667,0.16667,0.5,
	0.66667,0.20833,0.5,
	0.66667,0.25,0.5,
	0.66667,0.29167,0.5,
	0.66667,0.33333,0.5,
	0.66667,0.375,0.5,
	0.66667,0.41667,0.5,
	0.66667,0.45833,0.5,
	0.66667,0.5,0.5,
	0.66667,0.54167,0.5,
	0.66667,0.58333,0.5,
	0.66667,0.625,0.5,
	0.66667,0.66667,0.5,
	0.66667,0.70833,0.5,
	0.66667,0.75,0.5,
	0.66667,0.79167,0.5,
	0.66667,0.83333,0.5,
	0.66667,0.875,0.5,
	0.66667,0.91667,0.5,
	0.66667,0.95833,0.5,
	0.66667,1,0.5,
	0.70833,0,0.5,
	0.70833,0.041667,0.5,
	0.70833,0.083333,0.5,
	0.70833,0.125,0.5,
	0.70833,0.16667,0.5,
	0.70833,0.20833,0.5,
	0.70833,0.25,0.5,
	0.70833,0.29167,0.5,
	0.70833,0.33333,0.5,
	0.70833,0.375,0.5,
	0.70833,0.41667,0.5,
	0.70833,0.45833,0.5,
	0.70833,0.5,0.5,
	0.70833,0.54167,0.5,
	0.70833,0.58333,0.5,
	0.70833,0.625,0.5,
	0.70833,0.66667,0.5,
	0.70833,0.70833,0.5,
	0.70833,0.75,0.5,
	0.70833,0.79167,0.5,
	0.70833,0.83333,0.5,
	0.70833,0.875,0.5,
	0.70833,0.91667,0.5,
	0.70833,0.95833,0.5,
	0.70833,1,0.5,
	0.75,0,0.5,
	0.75,0.041667,0.5,
	0.75,0.083333,0.5,
	0.75,0.125,0.5,
	0.75,0.16667,0.5,
	0.75,0.20833,0.5,
	0.75,0.25,0.5,
	0.75,0.29167,0.5,
	0.75,0.33333,0.5,
	0.75,0.375,0.5,
	0.75,0.41667,0.5,
	0.75,0.45833,0.5,
	0.75,0.5,0.5,
	0.75,0.54167,0.5,
	0.75,0.58333,0.5,
	0.75,0.625,0.5,
	0.75,0.66667,0.5,
	0.75,0.70833,0.5,
	0.75,0.75,0.5,
	0.75,0.79167,0.5,
	0.75,0.83333,0.5,
	0.75,0.875,0.5,
	0.75,0.91667,0.5,
	0.75,0.95833,0.5,
	0.75,1,0.5,
	0.79167,0,0.5,
	0.79167,0.041667,0.5,
	0.79167,0.083333,0.5,
	0.79167,0.125,0.5,
	0.79167,0.16667,0.5,
	0.79167,0.20833,0.5,
	0.79167,0.25,0.5,
	0.79167,0.29167,0.5,
	0.79167,0.33333,0.5,
	0.79167,0.375,0.5,
	0.79167,0.41667,0.5,
	0.79167,0.45833,0.5,
	0.79167,0.5,0.5,
	0.79167,0.54167,0.5,
	0.79167,0.58333,0.5,
	0.79167,0.625,0.5,
	0.79167,0.66667,0.5,
	0.79167,0.70833,0.5,
	0.79167,0.75,0.5,
	0.79167,0.79167,0.5,
	0.79167,0.83333,0.5,
	0.79167,0.875,0.5,
	0.79167,0.91667,0.5,
	0.79167,0.95833,0.5,
	0.79167,1,0.5,
	0.83333,0,0.5,
	0.83333,0.041667,0.5,
	0.83333,0.083333,0.5,
	0.83333,0.125,0.5,
	0.83333,0.16667,0.5,
	0.83333,0.20833,0.5,
	0.83333,0.25,0.5,
	0.83333,0.29167,0.5,
	0.83333,0.33333,0.5,
	0.83333,0.375,0.5,
	0.83333,0.41667,0.5,
	0.83333,0.45833,0.5,
	0.83333,0.5,0.5,
	0.83333,0.54167,0.5,
	0.83333,0.58333,0.5,
	0.83333,0.625,0.5,
	0.83333,0.66667,0.5,
	0.83333,0.70833,0.5,
	0.83333,0.75,0.5,
	0.83333,0.79167,0.5,
	0.83333,0.83333,0.5,
	0.83333,0.875,0.5,
	0.83333,0.91667,0.5,
	0.83333,0.95833,0.5,
	0.83333,1,0.5,
	0.875,0,0.5,
	0.875,0.041667,0.5,
	0.875,0.083333,0.5,
	0.875,0.125,0.5,
	0.875,0.16667,0.5,
	0.875,0.20833,0.5,
	0.875,0.25,0.5,
	0.875,0.29167,0.5,
	0.875,0.33333,0.5,
	0.875,0.375,0.5,
	0.875,0.41667,0.5,
	0.875,0.45833,0.5,
	0.875,0.5,0.5,
	0.875,0.54167,0.5,
	0.875,0.58333,0.5,
	0.875,0.625,0.5,
	0.875,0.66667,0.5,
	0.875,0.70833,0.5,
	0.875,0.75,0.5,
	0.875,0.79167,0.5,
	0.875,0.83333,0.5,
	0.875,0.875,0.5,
	0.875,0.91667,0.5,
	0.875,0.95833,0.5,
	0.875,1,0.5,
	0.91667,0,0.5,
	0.91667,0.041667,0.5,
	0.91667,0.083333,0.5,
	0.91667,0.125,0.5,
	0.91667,0.16667,0.5,
	0.91667,0.20833,0.5,
	0.91667,0.25,0.5,
	0.91667,0.29167,0.5,
	0.91667,0.33333,0.5,
	0.91667,0.375,0.5,
	0.91667,0.41667,0.5,
	0.91667,0.45833,0.5,
	0.91667,0.5,0.5,
	0.91667,0.54167,0.5,
	0.91667,0.58333,0.5,
	0.91667,0.625,0.5,
	0.91667,0.66667,0.5,
	0.91667,0.70833,0.5,
	0.91667,0.75,0.5,
	0.91667,0.79167,0.5,
	0.91667,0.83333,0.5,
	0.91667,0.875,0.5,
	0.91667,0.91667,0.5,
	0.91667,0.95833,0.5,
	0.91667,1,0.5,
	0.95833,0,0.5,
	0.95833,0.041667,0.5,
	0.95833,0.083333,0.5,
	0.95833,0.125,0.5,
	0.95833,0.16667,0.5,
	0.95833,0.20833,0.5,
	0.95833,0.25,0.5,
	0.95833,0.29167,0.5,
	0.95833,0.33333,0.5,
	0.95833,0.375,0.5,
	0.95833,0.41667,0.5,
	0.95833,0.45833,0.5,
	0.95833,0.5,0.5,
	0.95833,0.54167,0.5,
	0.95833,0.58333,0.5,
	0.95833,0.625,0.5,
	0.95833,0.66667,0.5,
	0.95833,0.70833,0.5,
	0.95833,0.75,0.5,
	0.95833,0.79167,0.5,
	0.95833,0.83333,0.5,
	0.95833,0.875,0.5,
	0.95833,0.91667,0.5,
	0.95833,0.95833,0.5,
	0.95833,1,0.5,
	1,0,0.5,
	1,0.041667,0.5,
	1,0.083333,0.5,
	1,0.125,0.5,
	1,0.16667,0.5,
	1,0.20833,0.5,
	1,0.25,0.5,
	1,0.29167,0.5,
	1,0.33333,0.5,
	1,0.375,0.5,
	1,0.41667,0.5,
	1,0.45833,0.5,
	1,0.5,0.5,
	1,0.54167,0.5,
	1,0.58333,0.5,
	1,0.625,0.5,
	1,0.66667,0.5,
	1,0.70833,0.5,
	1,0.75,0.5,
	1,0.79167,0.5,
	1,0.83333,0.5,
	1,0.875,0.5,
	1,0.91667,0.5,
	1,0.95833,0.5,
	1,1,0.5
};